changed the event listener so it loads layer data only at zoom level trigger