Fixing width issue when browser is smaller than viewport