support viewer mode