Added code to make images look as selected on hover