Make navigation selected states work with pjax