add panning of page in scroll mode