added functionality for changing sections in sectionContourWidget