Need help on implementing similar user interface across devices