fix definitions layout on small viewports