css transition fix to avoid transition on load