Restrict view of buttons based on view
selectivity show buttons based on the last thing clicked.
got rid of extra buttons