Added the autorotate when user is inactive