added bounds to the board scrolling so it won't get too far into the blank area outside the board