js improvements, rework mobile nav trigger