better resize logic so we can add borders and stuff