updates to utils to allow for panning