add preview functionality on media list