get dimension of default screen via FFI
Merge pull request #12 from koreader/lost-head

get dimension of default screen via FFI