fixed navBar after scan logic