Added zoom functionality and auto screen size detection.