From http://css-tricks.com/snippets/jquery/track-window-resizes-through-google-analytics/?utm_source=dlvr.it&utm_medium=facebook