style fixes and a bugfix on clicking results