slider backend and fontend