disables right click in gallery detail