added overlay option to viewer