added buttons for plot controls