added slider to mainFrame, commented slider in sectionContourWidget