Corrected ipad bugs
Merge pull request #64 from khalid-bd/ipad_bugs

Corrected ipad bugs