using jquery to set height of details div. fix for mobile?