make setting bottom/right calculate top/left