Add slide up and slide down effect