Included proprietary slide up/down animation

I added an option to choose the animation function and used the slideUp slideDown funktions
I will test this functionality and continue to work on it.