From http://tech.pro/blog/1557/7-useful-mobile-html-css-and-javascript-snippets?utm_source=html5weekly&utm_medium=email