Added code to implement basic drag-drop

bounds to the button and also updating the value with the button drag is
still left unimplemented.