Fixing a few bugs with slide direction
Refining animation behavior