remove gallery close functionality