js for toggles instead of html
All js working as expected with media queries