add html and css for #results
add slight refactoring to #results