Added transition for hover
updated template