Slide effect with JQuery
A big thank to @No Sssweat  for the answer. My methodology was good, I done an error in the definition of the direction.

So, you need to include the core/jquery.ui.effects.slide in your libraries.yml file and follow this documentation http://api.jqueryui.com/slide-effect/.