Restore the branch view position after refreshing