adds demo gallery behaviour