Gallery block level sharing bug fix

The block ID is now parsed when opening the light box when coming in from a block level link.