header script for mobile