centralized the navbar and carousel