Portfolio fix for safari

Pushstate wasn't correctly loading the portfolio page on safari