Do not scroll over the document top edge

With this simple if statement datepicker div will not appear
over the document top edge.
Merge pull request #77 from Olek89/fix/position-above-the-page-top

Do not scroll over the document top edge