tweaks to handle mutliple slides inline