toggle

fun toggle()

Toggles the rail between collapsed and expanded.