Added remove function to remove created divs.