logic tweak for allowing panning