fixed js error with links going to top all the time