working navbar and carousel