Add initial page index argument to showInView method.