when using shortcut to move to next/previous it should not go over current page