Find size and orientation of current media (like media-queries in css). #js #media-query #css
From http://stackoverflow.com/questions/7625718/how-to-use-javascript-conditionally-like-css3-media-queries-orientation