made buttons into a row