Fixing CSS min-width bug and tweaking layout