added ios tests to modernizr and fixing the position just if !appleios