Clip pre content and show a scrollbar if needed