Update fxos animation to support different phones and refactor.