Stabilized transition to case details

Stabilized transition to case details, optimizing code, removing some
JQ calls for faster Javascript native calls