Add period start/end marking functionality to datepicker