Separated logic for mobile from dashboard to new mobiledashboard