splits out style page and fixes rotate animation