add fix for orientationchange event