moving pan into view