gallery with advanced preloader and animations