make views work for ipad too