add overlay to close sidebar from any part of the main div