edited work nav button script for auto scroll