Made window dragable

This should make the window draggable. Tested on Chrome 38, Firefox 32 and IE 11