Prevents gallery field from loading sidebar if already active

Signed-off-by: Elliot Condon <e@elliotcondon.com>