logic for desktop page to load on tablet