Custom word wrap solution to avoid words flashing between lines