Add a parameter direction4 to separator:on_activated/ing (fix #278).