cleaned up and added imagesloaded to udx.ui.gallery