added code for overlay touch buttons (currently not used)