Added jquery, fixed gallery display