refactoring animated image text tile