move js hide inside media query