Eliminate unnecessary elements from preview