Added some logic to create a screenshot each for portrait and landscape.