Fixing styling for ipads etc and making it work on IE8