change start/end position of sliding page