remove rows from gallery