adds photoSwipe and some plugin-level settings