direction support for buttons