enable scaning when page appears