Changed to .height instead of .outerHeight due to sizing issues when pinning