Gallery images positions fix (JS).