fixing the details click events and tablet styling