Adding methods for sliding left and right.