collapse

fun View.collapse(duration: Long = 500)(source)