add dashed border animation to tiles