refactoring of Widget.js

now there is a .movable(yes) inside object's class that enables movement
of the div.

consolidated .showTitle() and .hideTitle() into .showTitle(yes) which
takes in boolean that tells function either on or off