Either or both.
On both sides.
Intermediate between two categories.
Alternating between two categories.