redraws after every mouse click