apply direction aware animation to images caption