updated to recalculate the quadtree when the user zooms