updated the overlay script a bit
lots of stuff for the creation of overlays
updated scroller to allow resizing and horizontal scrolling