moving height with width and vice versa