fix nav bar resizing by changin width to percent