modif loader and index for 2 div (left and right)