add photobox to galleries; designed portfolios pages; refactoring