fix lack of range selection when moving vertically