fixed nill case for total days function
changed dropdown to be visible in small windows