fixes for mobile and ie8