housekeeping and optimzing for mobile and tablet