Added functionality for viewing as different devices