Consistent resizing of resultsPanel for different css rules