Add smarter move-to-begin