add a layover div with js event listener which open up on click and goes hidden when clicked off