add view history feature