added active states in css, mino js changes