resolved issue with ios jquery layout