Updated the code to uncomment the portrait orientation requirement