buttons are now correctly hooked up in photoswipe