CSS for fixing delay in buttons appearing