change the popup with mobile view
changed js