Details now start hidden and click event works