fix(datepicker): Prevent from extending beyond the right screen edge