Hide the edges while panning/zooming, for performance.