Yes it moves to the side with less moles. This causes the amount of stuff to increase at the side its moved to
Increasing temperature favours the endothermic reaction, increasing the amount of stuff on the side it moves it. Decreasing does the opposite