main slidebox functionality working