Fixed css bug that caused wrong list elements to center for small viewport