added transitions to hover and active states