working carousel and nav bar