replace next and prev in moveSlideDown and moveSlideUp functions with nextAll and prevAll