Made the screen dynamic