fixed screen size detection on main scripts

fixed screen size detection on main scripts and fixed issue with
displaying full content on pageslides
updated scripts

updated structure and fixed pageslide scripts
fixed homepage

panels now open pageslide content that displays correctly on all mediums
small fix