added buttons in left panel to change current view from a to b in the sample