Made zoom dynamic