fix for broken login animation on safari and IE. introduction of appcache