add "before_list" class to all lists