cleaned up ruler drawing