Javascript mobile compatible - css mobile fixes