move hide() function
Merge pull request #40 from cbwiedel/master

move hide() function