udpated margin between elements and ribbon animation speed