Visual_effect problem

Ok, basically I have a link that when click updates the contents of a
div tag on the same page. The link itself is actually inside the div
being updated. It looks like this:

<%= link_to_remote filename ,
:url => {:action => ‘change_div’ , :ftp_dir =>
filename} %>

which works fine. Now I try to add some AJAX magic to it

<%= link_to_remote filename ,
:url => {:action => ‘chdir’ , :ftp_dir => filename},
:loading => visual_effect(:toggle_slide,
‘ftp_div’, :queue=>‘front’),
:complete => visual_effect(:toggle_slide,
‘ftp_div’, :queue=>‘end’)

                        %>

This does not work. The div slides closed but never opens again. As I
understand it it should first slide the div closed, then alter it, then
open it again. This is on the newest stable versions of Ruby and Rails
tested with the FireFox web browser.

The first example should have been

<%= link_to_remote filename ,
:url => {:action => ‘chdir’ , :ftp_dir =>
filename} %>

not

<%= link_to_remote filename ,
:url => {:action => ‘change_div’ , :ftp_dir =>
filename} %>