adding mobile orientation change event