added toggle-button functionality to hide/show mapreduce gui