instead of javascript, use modernizr css to disable rotation in browsers (like IE8) that do not support csstransforms