update beforeorientationchange back to orientationchange event