fixed a bug with loading fresh page with listeners active
made page size scale on every tab switch instead of just on resize