minor bug removed

now turns off selected item on window resize