add sample for left and right side slide animation