add ability to pan view.