Full panning implemented, but there is a messy deselection issue. Look into resolving this later