Move image line in response to a custom event generated by changing text line