update slide height for cross browser