Added orientation support to designer