In this function x_pos is constrained between SCROLL_LEFT and SCROLL_RIGHT if vsplit is on but y isn't constrained between SCROLL_TOP and SCROLL_BOTTOM. Is that intentional?