added ability to control the delay before hiding. Added missed dependency to package.json