refactoring, adding callbacks after x and o show animations