Smooth scroll and nxhtml modes added