prevent top bar curtain for being closed when click on itself