fixed phantom click on nav overlay issue and cleaned unused source

- cleaned up unused source