update the slope tool only when it's visible