Fix: port index view fix to iPhone

The fix introduced in 74e9833fee21c5b52f068ee3d4e9d952299c00f2 was only catering for iPad resolutions. This commit makes sure iPhones (4 and 5) are handled correctly as well.
Fixes #837.