Add toggle slide functionality