change resize event to orientation change in mobile