Added loading state and support for browsers not capable of flex.: