fixed issues with expanding content in navigation