I am using marginpar to margin notes in a book. My problem is that if I add a \marginpar too close to the bottom of a page, the margin will overflow the bottom of the page.
For instance, using the following code, the margin not is not fully visible as it overflows (see below).
\documentclass{article}
\usepackage{lipsum}
\begin{document}
\lipsum[1-5]
\marginpar{\tiny \lipsum[1-1]}
\end{document}
Of course, I could manually modify the place of margins like this:
\documentclass{article}
\usepackage{lipsum}
\begin{document}
\lipsum[1-2]
\marginpar{\tiny \lipsum[1-1]}
\lipsum[3-5]
\end{document}
But this requires moving all \marginpar each time I change a paragraph in the document. Ideally, I would prefer if latex could automatically move my marginpar up to avoid overflowing the bottom of the page.
Question: Is there a way to ask latex to place marginpar automatically? (like the arguments [t] or [h] of figure). Or should I used another package? (marginnote?)
The result that I do not want:

For my document, I am using the scrbook and classicthesis but the problem also occurs with the class article.

