comment auto forcus and update view history