Reverted back to previous gallery loading