adding time out for orientation change