Misko showed me how to animate slides the correct direction depending on their depth