centering list elements in both web and mobile layouts