Mobile themes layers

Adds inMobileViewer and inDesktopViewer attributes for layer and themes.

Please review.