Updatd layout for css in slides