bug fix for useCssLayout checking.
removed unnecessary code
Merge branch 'master' of github.com:zhangyongjiang/iLayout