Fixed resizing for smaller displays.