Fix width of datepicker & prevent it from overflowing window

When the datepicker is aligned near an edge of the screen,
showing the calendars may require some adjustment to ensure that
everything stays aligned properly.
Merge pull request #74 from PipelineDeals/fix_width_near_edges_of_window

Fix width of datepicker & prevent it from overflowing window