Clean up of code. Zoom level based on screen width.