Fixed resizing functions
Added a rudimentary callback function
Disabled scrolling when active