Fix issue when resizing windows to very small and fix the small nav bar