fixed submit on mobile. disable animation on history events