remove list elements for divs