push both side and main buttons into array