Adjust timepicker position on open to remain within window