Instead of  onload animation(which takes time), an onclick animation was added. Do check and suggest changes.