add event code
mobile view fix