resize trait cards on scroll