safari fix, remove modalizr nav from modal before calculating modal's width, otherwise modal set to width of nav which with enough thumbnails will be wider than the slide