Reworked scrollbar & resize logic in main.js to work with new directives.
Reworked scrollbar & resize logic in main.js to work with new directives.

whitelynx/web-pgq,HydroLogic/web-pgq,whitelynx/web-pgq,HydroLogic/web-pgq