Add smarter move to beginning of line function