improved the UI of the drawing component