Fixed a bug, where the layout didnt work on lower screen resulution