adjust icon size depending on pressed state and whether icon is present