element offset fix for IE9

IE-Fix only: 
If the page is scrolled down (in my case i dragged and dropped inside a bootstrap modal window), then scrollTop and scrollLeft returns 0. This fix injects $window and uses page(X|Y)Offset.