cleaned up preview code. added landscape orientation. fullscreen image preview. code cleaning