Better mobile detection and behavior added.