added new functionality which makes list close if you click away
Merge pull request #12 from livhaas/master

Added new functionality which makes list close if you click away