Fix some layout display problems on mobile