added option for showing masterController in portrait orientation