added div main, scroll spy settings moved from html to js, scroll spy should actually work now.