Smart move to beginning of line