fixed fragment behavior

Now it saves its state. Also in portrait orientation it's inflated as list
header.