Updated with code for bootstrap carousel