for next time: doesn't actually re-display in displayfunc if the box is drawn from bottomright to topleft