Ajax loading & gallery fully works