Added some delay to the autohide behavior

Fixes #309