add timeout for orientationchange event