a lot of tweaks for responsive and ipad portrait media query, ready for clean up