fix navigation resize