clean up code for mouse-x,-y color mapping