fix custom bottomBar animation