fixing style for some display sizes