adds functionality for two zoom levels