fix bug in history handling
fix content animation
handle very fast history navigation
fix infinite recursion in tests