Seperated zoomToFeature function