Templates: fix breaking navbar with medium screen sizes