Refactoring screen size