add direction parameter to list function
fix BOM issue
fix ButtonsGroup.selectedId