add some functionality to the exit button
mobile redirect