Added resize for resourceGallery
Fixed bug with scrolling