added js to fix tablet menu display