Fixed crash on cleanupSubviews
Added landscape supports