better support for medium buttons