updated css animation and nav