Fixed issue where it wouldn't scroll to a page index, if between pages