Added support for sliding slides on the slider in all four directions