refine content.css, mode between auto and manual are switched smoothly