Fix slide navigation script

created a substring to adjust for new page href