Bugfix/fix out of screen display on nexus4

Simple bugfixing. Tested on chrome dev tools with a nexus environment