style update to support vertical and horizontal carousels