manage fade on main content