- removed redundant reference to tinyscroll
- cleanup of modal.js and fixes so it works better at resizing