added trail-view changes back after getting wiped by PR