Fixed multiple galleries problem
Removed useless property
Fixed gallery loop bug, custom css is still bugged
Fixed a bit the code, but css is still a problem