quick implementation of pageUp/pageDown/Home/End