loading gif on transition and translate implemented