Explicitly define itemSize for mainPage and use width/height instead of
implict ones. Fixes issue #62