Added basic support for panning (dragging) of the screen