Implemented continuous view panning on keydown