Fix #612, add $.browser.mobile flag, based on window.orientation