starting zoom logic