fixing layout for navigator