Make checkmarkedgems() a callback passed to animate()