added overlay toggling