viewer widget working