animation working in a rather nice way