reorder main navigation and fix bug of style