modify view history UI