creating separate mobile and desktop ui