renamed scroll to pan