changing sidebar repeat to x and y