fix rotation issue om iOS8