fixed typos on random function
added preview image and styling to trending