Refactored height calculation when expendo clicked
Updated panel slider to remove min height
Added test cases for panel slider