Go to specific slide by specifying slideId url parameter

Ken,
Here is a version of the code I had originally written to allow for slideId url parameter. My code looks for this parameter and then compares it with a data-slide-id attribute in each slide and if it exists it goes to the slide that has the same slide value. I have not minified this code. I wanted to but wasn't sure how to make it. I kept getting make errors. In any case, let me know your thoughts.

Thanks,
Chris