Added upside down mode

I added an option for upside down mode. May contribute again in the future. Thanks for creating this library.