Removed temporary fix

Removed the temporary fix of using a timeout to fetch the x,y coords of
the image component. Now attaching a listener to the animation if
parentSelector is specified. Will fetch the x,y coords when the
animation end is fired.