made index links use history api