solve flot slide bugs