added dots. fix #2 . mouse also snaps to dots