gallery working from all angles except hashchange, woo!