wind direction refactoring and impementation UI