Fixed bug in PageView where it was mishandling situations with just 2 pages