make primary and secondary nav sortable (fix #642)