clear view history, closes #393