Made slider a directive. Some style updates.