added (rudimentary) ipad support, removed buggy code that causes title to disappear