Added support for upside down movement