support for on switch down event