Updated the code sample for the list type slide.