Simplified Code

Replaced Display.getWidth() & Display.getHeight() with width and height