fix load problem in home sections tit script
active element toggle in main navbar