I'm not sure to understand completely what you did, but basically Gallery1_2 should have the entire width right? Could you try out this:
(NumberOfColumns-((Gallery1_2.Width-Conatiner17.Width-Container12_1.Width)/Labels.Width))*Labels.width
So what this calculation does is the following:
First of all it calculates how much space the container has and tries to convert it into number of columns this space is able to show.
Then it takes the number of Columns you want to display and reduces it by the number already visible. Know you know how many columns are "hidden" so how many columns you have to move to the side.
by multiplying it with the width of the labels you now have a slider that has a max value of the exact amount of pixels you want to move.
you can also remove the multiplication than you have a slider with number of columns to move and multiply with the column width inside the container.
could you try this and let me know how it worked out?