fixing vim scrolling and resizing.