attach navigation scripts to all current screens