fix costs table on small screen. closes #253