Fixed a visual bug with the slider. It now keeps the right height. 

Fix #168.