working but ugly slider