removing unused argument from top-barcurtain module
hide curtains when click outside of it