JQuery animate script not working right away

I am trying to use a jquery script to emulate the CSS3 transition property for IE. The script works but it doesn’t work on the first hover. On the first hover it simply a regular hover that changes the picture and not the script and I can’t figure out why. Any help would be appreciated.