Near horizon dynamics of three dimensional black holes