Push overlay buttons into overflow if there isn't enough screen space.