Open specific tab on mobile as well

I extended the js script to open a specific tab for the mobile, similar to the desktop view.