Add click function for mobile browsers only to enable menu expansion.