zoom to layer extent if provided