added ipad support fix positioning issue when starting up in landscape.