consistent (even if ugly) code style
account for min width scenario