Add slide left/right functionality.