Each window has it's own view-mode scroll lock state

Signed-off-by: Bao Haojun <baohaojun@gmail.com>