#59 fix scroll regions to stay in bounds