added active state to tiles