updated layout of carousel