adds unclicked and clicked class styling