move push menu code to $.transtool.js