Ensure text remains within accordion