Adding in index.

This way we can easily add an active class to the thumbnails.