How to avoid white space because of repeater not showing.

I have a repeater and the dataset shows up only for logged in users. So when the user is not logged in, i am seeing a big blank white space. How do i remove it? I tried calling collapse on repeater but did not help. Any other suggestions?

You should setup your repeater so that it is collapsed on load and then write in your code for it only to be set to expand when a logged in site member views the page.