added check for iPhone 4, to fix transparent view background problem.