Added screen size compatability