Adds slide animation