Fix #49

Added tests in the mouse-click functionality for ITEM_TYPE_SLIDER to
change the position of the handle to the location of the mouse click.

I am worried that line 5030 is a memory leak and await the wisdom of
Xycaleth or Eezstreet on the matter.