Fixes #5

$elem have to be a jQuery Object to work with slimScroll.