Portfolio JS uses TMPL for thumbs and slider

Portfolio now uses TMPL to display the thumbnails as well as the slider.
This creates a complete separation between front and back end.
I thought about using enquire.js to make it hide the thumbs, but decided
it was unnecessary.
Now we just need to add in the swipe...