fixes problems with css breakpoints