this widget enables two view apha in and out alternately