slider height adjustment on window resize