Added navbar auto close