Fixed demo details onclick behaviour