fixed query algorithm and styles
Merge branch 'master' of https://github.com/pedromcunha/Trailer-Parke into gh-pages