fixes to make splitting better
fixes for selecting the previous letter
split the click function into different parts