added option to animate height after slide transition has ended. Also added css height animations