function resetBoxes(){

	document.getElementById('list-scroller').style.top = '0px';
	
}

function moveElem(movement, direction) {
	
	var div = document.getElementById('list-scroller');
	var currentPos = div.style.top;
	var topLimit = 0;
	var bottomLimit = div.clientHeight - 75;
	
	if(currentPos == ''){
		resetBoxes();
	}
	
	switch(direction){
		
		case 'up':
			newPos = parseInt(div.style.top) - movement;
			if(newPos >= (-bottomLimit)){
				div.style.top = newPos+'px';
			}
		break;
		
		case 'down':
			newPos = parseInt(div.style.top) + movement;
			if(newPos <= topLimit){
				div.style.top = newPos+'px';
			}
		break;
		
	}
	
}
