version with switchable animations (memory leak!)