Bug1100528-[Gallery]-Update slider to have relative position to handle rtl