implement screen snap
base for changing time in textbox