Added show and hide for log view