attempted fix for slide height collapse issue