A trial for a Brighton man accused of filming the bottom of a supermarket employee has been dismissed.