Fix centring issue up to ~995px

Fixed the centring issue on devices as wide as about 995px. Still
working on a fix for all devices.