fixes responsive issues
removes an "echo $counter" for debugging