Enqueue sripts and styles only if function is called

Instead of two functions, just put the gallery assets code inside of the portfolio gallery function.

Or nest it. Nesting is kinda ugly though.