added string scroll function for z axis