fixed gallery loading, and added scroll animation features