add functionality to chose slide side