bind windows dimensions to Tap action