reposition shelves on window resize