Improve panning peformance by using a separate div