Added functions for moving left and right