working on a simple animated toggle widget for languages