carousel effect added to nav bar