Rename top_or_bottom to position.