[screenshots] Allow screenshots to be rotated

This helps when the application is not in the device's default orientation.