Adding methods for sliding left and right

Just two simple methods for sliding left and right. No support for going up or down, as I don't plan to use that myself.