added js for slider height