I have used the following code from this site but making a little changes to it in order to get display on both rows of LCD & also shift them towards left. But once the entire display is shifted to left, it doesnot re-displayes form the right (as in the case of original code to shift the display to right). Text is displayed when the entire text is at its initial position & then it again starts moving left.