fixed screen reset when phone rotated