selected view refresh correctly when pan