maybe this post will help you: http://stackoverflow.com/questions/3...umviewportsize