fix size of past category on layout