fix footer miscalculation on mobile