Javascript slider fixed. Pre CSS